<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <jdoc:include type="head" />
        <?php $templateUrl = $this->baseurl."/templates/".$this->template."/" ?>
        <link href="<?php echo $templateUrl;?>css/style.css" rel="stylesheet" type="text/css" />
        <script>
            function toggleAdvert(){
                document.getElementById('homeLogoDiv').style.display = 'none';
                document.getElementById('advertDiv').style.display = 'block';
                setTimeout("document.getElementById('homeForm').submit()", 5000);
            }
        </script>
    </head>
    <body>
        <div class="absoluteRight">
            <a href='d' class="bold">Lorem</a>&nbsp;<a href='d' class="bold">Lorem</a>&nbsp;<a href='d' class="bold">Lorem</a>&nbsp;
        </div>
        <div class="homeLogoDiv" id="homeLogoDiv">
            <img class="marginBottomTen" src="<?php echo $templateUrl;?>images/logo.jpg" />
            <form id="homeForm" action="" method="post">
                <input class="border-moz homeSearchBox inputBox" type='name' name="search" /><input class="border-moz homeSearchBox" type="button" name="search" value="Search" id="searchButton" onclick="toggleAdvert();">
            </form>
        </div>
        <div id='advertDiv' style="display:none;">
            Advertisment
        </div>
    </body>
</html>
